home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 72 6f 6f 6d 2e 68 |Path: ne|wsroom.h|
|00000010| 69 74 63 2e 63 6f 6d 21 | 75 73 65 6e 65 74 0a 46 |itc.com!|usenet.F|
|00000020| 72 6f 6d 3a 20 43 68 72 | 69 73 20 52 75 65 67 67 |rom: Chr|is Ruegg|
|00000030| 65 72 20 3c 63 72 75 65 | 67 67 65 72 40 65 6f 73 |er <crue|gger@eos|
|00000040| 2e 68 69 74 63 2e 63 6f | 6d 3e 0a 4e 65 77 73 67 |.hitc.co|m>.Newsg|
|00000050| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 6c 61 6e 67 |roups: c|omp.lang|
|00000060| 2e 63 2b 2b 0a 53 75 62 | 6a 65 63 74 3a 20 52 65 |.c++.Sub|ject: Re|
|00000070| 3a 20 57 68 79 20 75 73 | 65 20 70 72 69 76 61 74 |: Why us|e privat|
|00000080| 65 20 63 6c 61 73 73 20 | 6d 65 6d 62 65 72 73 20 |e class |members |
|00000090| 69 6e 73 74 65 61 64 20 | 6f 66 20 70 72 6f 74 65 |instead |of prote|
|000000a0| 63 74 65 64 3f 0a 44 61 | 74 65 3a 20 31 31 20 4a |cted?.Da|te: 11 J|
|000000b0| 61 6e 20 31 39 39 36 20 | 31 34 3a 31 36 3a 34 34 |an 1996 |14:16:44|
|000000c0| 20 47 4d 54 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|000000d0| 6e 3a 20 48 75 67 68 65 | 73 20 49 6e 66 6f 72 6d |n: Hughe|s Inform|
|000000e0| 61 74 69 6f 6e 20 54 65 | 63 68 6e 6f 6c 6f 67 79 |ation Te|chnology|
|000000f0| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 0a 4d 65 73 | Corpora|tion.Mes|
|00000100| 73 61 67 65 2d 49 44 3a | 20 3c 34 64 33 36 34 63 |sage-ID:| <4d364c|
|00000110| 24 36 72 66 40 6e 65 77 | 73 72 6f 6f 6d 2e 68 69 |$6rf@new|sroom.hi|
|00000120| 74 63 2e 63 6f 6d 3e 0a | 52 65 66 65 72 65 6e 63 |tc.com>.|Referenc|
|00000130| 65 73 3a 20 3c 33 30 46 | 34 41 42 34 39 2e 36 41 |es: <30F|4AB49.6A|
|00000140| 42 42 40 73 69 65 72 72 | 61 2e 6e 65 74 3e 20 3c |BB@sierr|a.net> <|
|00000150| 33 30 66 34 62 36 34 65 | 2e 36 32 34 32 37 37 40 |30f4b64e|.624277@|
|00000160| 6e 6e 74 70 2e 69 78 2e | 6e 65 74 63 6f 6d 2e 63 |nntp.ix.|netcom.c|
|00000170| 6f 6d 3e 0a 4e 4e 54 50 | 2d 50 6f 73 74 69 6e 67 |om>.NNTP|-Posting|
|00000180| 2d 48 6f 73 74 3a 20 72 | 61 69 6e 6d 61 6e 2e 68 |-Host: r|ainman.h|
|00000190| 69 74 63 2e 63 6f 6d 0a | 4d 69 6d 65 2d 56 65 72 |itc.com.|Mime-Ver|
|000001a0| 73 69 6f 6e 3a 20 31 2e | 30 0a 43 6f 6e 74 65 6e |sion: 1.|0.Conten|
|000001b0| 74 2d 54 79 70 65 3a 20 | 74 65 78 74 2f 70 6c 61 |t-Type: |text/pla|
|000001c0| 69 6e 3b 20 63 68 61 72 | 73 65 74 3d 75 73 2d 61 |in; char|set=us-a|
|000001d0| 73 63 69 69 0a 43 6f 6e | 74 65 6e 74 2d 54 72 61 |scii.Con|tent-Tra|
|000001e0| 6e 73 66 65 72 2d 45 6e | 63 6f 64 69 6e 67 3a 20 |nsfer-En|coding: |
|000001f0| 37 62 69 74 0a 58 2d 4d | 61 69 6c 65 72 3a 20 4d |7bit.X-M|ailer: M|
|00000200| 6f 7a 69 6c 6c 61 20 31 | 2e 31 32 20 28 58 31 31 |ozilla 1|.12 (X11|
|00000210| 3b 20 49 3b 20 53 75 6e | 4f 53 20 35 2e 34 20 73 |; I; Sun|OS 5.4 s|
|00000220| 75 6e 34 6d 29 0a 54 6f | 3a 20 61 73 63 68 65 6e |un4m).To|: aschen|
|00000230| 40 69 78 2e 6e 65 74 63 | 6f 6d 2e 63 6f 6d 0a 58 |@ix.netc|om.com.X|
|00000240| 2d 55 52 4c 3a 20 6e 65 | 77 73 3a 33 30 66 34 62 |-URL: ne|ws:30f4b|
|00000250| 36 34 65 2e 36 32 34 32 | 37 37 40 6e 6e 74 70 2e |64e.6242|77@nntp.|
|00000260| 69 78 2e 6e 65 74 63 6f | 6d 2e 63 6f 6d 0a 0a 49 |ix.netco|m.com..I|
|00000270| 20 61 67 72 65 65 20 77 | 69 74 68 20 74 68 69 73 | agree w|ith this|
|00000280| 20 61 73 73 65 73 73 6d | 65 6e 74 2e 20 52 65 6d | assessm|ent. Rem|
|00000290| 65 6d 62 65 72 20 65 76 | 65 72 20 63 6c 61 73 73 |ember ev|er class|
|000002a0| 20 68 61 73 20 2a 32 2a | 0a 69 6e 74 65 66 61 63 | has *2*|.intefac|
|000002b0| 65 73 3a 20 74 68 65 20 | 6f 75 74 73 69 64 65 20 |es: the |outside |
|000002c0| 77 6f 72 6c 64 2c 20 61 | 6e 64 20 63 6c 61 73 73 |world, a|nd class|
|000002d0| 65 73 20 69 74 20 69 73 | 20 72 65 6c 61 74 65 64 |es it is| related|
|000002e0| 20 74 6f 20 69 6e 20 69 | 74 73 0a 69 6e 68 65 72 | to in i|ts.inher|
|000002f0| 69 74 61 6e 63 65 20 68 | 69 65 72 61 72 63 68 79 |itance h|ierarchy|
|00000300| 2e 0a 0a 49 20 6e 65 76 | 65 72 20 6d 61 6b 65 20 |...I nev|er make |
|00000310| 64 61 74 61 20 6d 65 6d | 62 65 72 73 20 70 72 6f |data mem|bers pro|
|00000320| 74 65 63 74 65 64 2e 20 | 49 74 27 73 20 6a 75 73 |tected. |It's jus|
|00000330| 74 20 61 6e 6f 74 68 65 | 72 20 22 67 6f 74 63 68 |t anothe|r "gotch|
|00000340| 61 22 0a 77 61 69 74 69 | 6e 67 20 74 6f 20 68 61 |a".waiti|ng to ha|
|00000350| 70 70 65 6e 2e 20 41 6e | 79 6f 6e 65 20 63 61 6e |ppen. An|yone can|
|00000360| 20 73 75 62 63 6c 61 73 | 73 20 6f 66 66 20 6f 66 | subclas|s off of|
|00000370| 20 79 6f 75 72 20 63 6c | 61 73 73 20 61 6e 64 20 | your cl|ass and |
|00000380| 0a 76 6f 69 6c 61 2c 20 | 69 6e 73 74 61 6e 74 20 |.voila, |instant |
|00000390| 61 63 63 65 73 73 20 74 | 6f 20 74 68 65 20 63 6c |access t|o the cl|
|000003a0| 61 73 73 27 73 20 64 61 | 74 61 2e 20 49 20 68 61 |ass's da|ta. I ha|
|000003b0| 76 65 20 73 65 65 6e 20 | 63 6f 64 65 20 77 68 65 |ve seen |code whe|
|000003c0| 72 65 20 74 68 65 0a 73 | 75 62 63 6c 61 73 73 20 |re the.s|ubclass |
|000003d0| 65 73 73 65 6e 74 69 61 | 6c 6c 79 20 64 65 6c 65 |essentia|lly dele|
|000003e0| 74 65 73 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 70 |tes all |of the p|
|000003f0| 61 72 65 6e 74 27 73 20 | 64 61 74 61 20 61 6e 64 |arent's |data and|
|00000400| 20 72 65 2d 61 6c 6c 6f | 63 61 74 65 73 20 69 74 | re-allo|cates it|
|00000410| 2e 0a 4d 75 63 68 20 62 | 65 74 74 65 72 20 79 6f |..Much b|etter yo|
|00000420| 75 20 70 72 6f 76 69 64 | 65 20 61 6e 20 69 6e 74 |u provid|e an int|
|00000430| 65 72 66 61 63 65 20 61 | 6e 64 20 6c 65 74 20 74 |erface a|nd let t|
|00000440| 68 65 20 63 6c 61 73 73 | 65 73 20 6e 65 67 6f 74 |he class|es negot|
|00000450| 69 61 74 65 20 74 68 61 | 6e 0a 67 69 76 69 6e 67 |iate tha|n.giving|
|00000460| 20 63 61 72 74 65 20 62 | 6c 61 6e 63 68 65 20 61 | carte b|lanche a|
|00000470| 63 63 65 73 73 2e 20 0a | 0a 49 20 72 65 73 65 72 |ccess. .|.I reser|
|00000480| 76 65 20 74 68 65 20 70 | 72 6f 74 65 63 74 65 64 |ve the p|rotected|
|00000490| 20 73 65 63 74 69 6f 6e | 20 6d 6f 73 74 6c 79 20 | section| mostly |
|000004a0| 66 6f 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |for appl|ication |
|000004b0| 66 72 61 6d 65 77 6f 72 | 6b 0a 74 79 70 65 20 66 |framewor|k.type f|
|000004c0| 75 6e 63 74 69 6f 6e 73 | 2c 20 61 6e 64 20 66 6f |unctions|, and fo|
|000004d0| 72 20 74 68 65 20 62 61 | 73 65 20 63 6c 61 73 73 |r the ba|se class|
|000004e0| 2f 64 65 72 69 76 65 64 | 20 63 6c 61 73 73 20 69 |/derived| class i|
|000004f0| 6e 74 65 72 66 61 63 65 | 2e 20 0a 20 54 61 6b 65 |nterface|. . Take|
|00000500| 20 61 20 6c 6f 6f 6b 20 | 61 74 20 74 68 65 20 22 | a look |at the "|
|00000510| 54 65 6d 70 6c 61 74 65 | 22 20 44 65 73 69 67 6e |Template|" Design|
|00000520| 20 50 61 74 74 65 72 6e | 2e 20 0a 0a 4a 75 73 74 | Pattern|. ..Just|
|00000530| 20 6d 79 20 32 20 63 65 | 6e 74 73 2e 20 4b 65 65 | my 2 ce|nts. Kee|
|00000540| 70 20 79 6f 75 72 20 75 | 73 65 72 73 20 69 6e 20 |p your u|sers in |
|00000550| 6d 69 6e 64 2e 20 49 66 | 20 69 74 27 73 20 70 72 |mind. If| it's pr|
|00000560| 6f 64 75 63 74 69 6f 6e | 20 6c 65 76 65 6c 20 63 |oduction| level c|
|00000570| 6f 64 65 2c 0a 49 27 64 | 20 6d 61 6b 65 20 61 6c |ode,.I'd| make al|
|00000580| 6c 20 64 61 74 61 20 6d | 65 6d 62 65 72 73 20 70 |l data m|embers p|
|00000590| 72 69 76 61 74 65 2e 20 | 49 66 20 69 74 73 20 61 |rivate. |If its a|
|000005a0| 20 71 75 69 63 6b 20 61 | 6e 64 20 64 69 72 74 79 | quick a|nd dirty|
|000005b0| 20 68 61 63 6b 20 66 6f | 72 20 0a 70 65 72 73 6f | hack fo|r .perso|
|000005c0| 6e 61 6c 20 75 73 65 2c | 20 77 68 6f 20 63 61 72 |nal use,| who car|
|000005d0| 65 73 2e 0a 0a 0a 0a 2d | 2d 2d 2d 2d 2d 2d 2d 2d |es.....-|--------|
|000005e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000610| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 43 68 72 |--------|----.Chr|
|00000620| 69 73 74 6f 70 68 65 72 | 20 52 75 65 67 67 65 72 |istopher| Ruegger|
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000640| 20 70 68 6f 6e 65 3a 20 | 20 20 28 33 30 31 29 20 | phone: | (301) |
|00000650| 39 32 35 2d 31 31 36 34 | 0a 20 20 20 20 20 20 20 |925-1164|. |
|00000660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 45 6d 61 | | Ema|
|00000680| 69 6c 3a 20 20 20 63 72 | 75 65 67 67 65 72 40 65 |il: cr|uegger@e|
|00000690| 6f 73 2e 68 69 74 63 2e | 63 6f 6d 0a 20 20 20 20 |os.hitc.|com. |
|000006a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006c0| 20 20 20 20 20 20 20 20 | 20 63 61 72 40 61 63 63 | | car@acc|
|000006d0| 65 73 73 2e 64 69 67 65 | 78 2e 63 6f 6d 0a 0a |ess.dige|x.com.. |
+--------+-------------------------+-------------------------+--------+--------+